Tel No. (+91) 7015535114

For Searching & Sorting

Level 1


Question 1

Find first and last positions of an element in a sorted array

Try YourSelf

View Solution

Video Solution

Question 2

Find a Fixed Point (Value equal to index) in a given array

Try YourSelf

View Solution

Video Solution

Question 3

Search in a rotated sorted array

Try YourSelf

View Solution

Video Solution

Question 4

square root of an integer

Try YourSelf

View Solution

Video Solution

Level 2


Question 1

Maximum and minimum of an array using minimum number of comparisons

Try YourSelf

View Solution

Video Solution

Question 2

Optimum location of point to minimize total distance

Try YourSelf

View Solution

Video Solution

Question 3

Find the repeating and the missing

Try YourSelf

View Solution

Video Solution

Question 4

find majority element

Try YourSelf

View Solution

Video Solution

Level 3


Question 1

Searching in an array where adjacent differ by at most k

Try YourSelf

View Solution

Video Solution

Question 2

find a pair with a given difference

Try YourSelf

View Solution

Video Solution

Question 3

find four elements that sum to a given value

Try YourSelf

View Solution

Video Solution

Question 4

maximum sum such that no 2 elements are adjacent

Try YourSelf

View Solution

Video Solution

Level 4


Question 1

maximum sum such that no 2 elements are adjacent

Try YourSelf

View Solution

Video Solution

Question 2

Count triplet with sum smaller than a given value

Try YourSelf

View Solution

Video Solution

Question 3

merge 2 sorted arrays

Try YourSelf

View Solution

Video Solution

Question 4

print all subarrays with 0 sum

Try YourSelf

View Solution

Video Solution

Level 5


Question 1

Product array Puzzle

Try YourSelf

View Solution

Video Solution

Question 2

Sort array according to count of set bits

Try YourSelf

View Solution

Video Solution

Question 3

minimum no. of swaps required to sort the array

Try YourSelf

View Solution

Video Solution

Question 4

Bishu and Soldiers

Try YourSelf

View Solution

Video Solution

Level 6


Question 1

Rasta and Kheshtak

Try YourSelf

View Solution

Video Solution

Question 2

Kth smallest number again

Try YourSelf

View Solution

Video Solution

Question 3

Find pivot element in a sorted array

Try YourSelf

View Solution

Video Solution

Question 4

K-th Element of Two Sorted Arrays

Try YourSelf

View Solution

Video Solution

Level 7


Question 1

Aggressive cows

Try YourSelf

View Solution

Video Solution

Question 2

Book Allocation Problem

Try YourSelf

View Solution

Video Solution

Question 4

Job Scheduling Algo

Try YourSelf

View Solution

Video Solution

Level 8


Question 1

Missing Number in AP

Try YourSelf

View Solution

Video Solution

Question 2

Smallest number with atleastn trailing zeroes infactorial

Try YourSelf

View Solution

Video Solution

Question 3

Painters Partition Problem:

Try YourSelf

View Solution

Video Solution

Question 4

ROTI-Prata SPOJ

Try YourSelf

View Solution

Video Solution

Level 9


Question 1

DoubleHelix SPOJ

Try YourSelf

View Solution

Video Solution

Question 2

Subset Sums

Try YourSelf

View Solution

Video Solution

Question 3

Findthe inversion count

Try YourSelf

View Solution

Video Solution

Question 4

Implement Merge-sort in-place

Try YourSelf

View Solution

Video Solution

Level 10


Question 1

Partitioning and Sorting Arrays with Many Repeated Entries

Try YourSelf

View Solution

Video Solution